package com.tms.project.tms.score.domain;

import com.tms.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tms.framework.aspectj.lang.annotation.Excel;
import com.tms.framework.web.domain.BaseEntity;

/**
 * tms对象 tms_score
 *
 * @author xyl
 * @date 2021-03-24
 */
public class Score extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long scoreId;

    private Long teacherId;
    /**
     * 老师姓名
     */
    @Excel(name = "老师姓名")
    private Long teacherName;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String studentName;

    /**
     * 学号
     */
    @Excel(name = "学号")
    private String studentNumber;

    /**
     * 提交的答题的list串
     */
    @Excel(name = "提交的答题的list串")
    private String scoreTopic;

    /**
     * 总分
     */
    @Excel(name = "总分")
    private Long sumScore;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private Integer type;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ipAddress;

    public Long getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(Long teacherName) {
        this.teacherName = teacherName;
    }

    public void setScoreId(Long scoreId) {
        this.scoreId = scoreId;
    }

    public Long getScoreId() {
        return scoreId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setScoreTopic(String scoreTopic) {
        this.scoreTopic = scoreTopic;
    }

    public String getScoreTopic() {
        return scoreTopic;
    }

    public void setSumScore(Long sumScore) {
        this.sumScore = sumScore;
    }

    public Long getSumScore() {
        return sumScore;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("scoreId", getScoreId())
                .append("teacherId", getTeacherId())
                .append("studentName", getStudentName())
                .append("studentNumber", getStudentNumber())
                .append("scoreTopic", getScoreTopic())
                .append("sumScore", getSumScore())
                .append("type", getType())
                .append("ipAddress", getIpAddress())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
